package com.singfan.core.dao.database.model;

import com.singfan.common.db.annotation.Primarykey;

import java.util.Date;

/**
 * 门店理发相关预约的详细信息（根据shop_id散表散库）
 * Author: hansonghe
 * Date: 2015-08-19 12:12
 * Desc:
 */
public class ShopHairAppointmentDetail {
    //主键
    @Primarykey
    private int id;
    //门店id
    private long shopId;
    //发型师id
    private long barberId;
    //用户id
    private long customerId;
    //订单id
    private long orderId;
    //预定的日期（例：20150728）
    private int appointmentDay;
    //预定的钟点（例：1000,1430）
    private int appointmentClock;
    //创建时间
    private Date createTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getShopId() {
        return shopId;
    }

    public void setShopId(long shopId) {
        this.shopId = shopId;
    }

    public long getBarberId() {
        return barberId;
    }

    public void setBarberId(long barberId) {
        this.barberId = barberId;
    }

    public long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(long customerId) {
        this.customerId = customerId;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public int getAppointmentDay() {
        return appointmentDay;
    }

    public void setAppointmentDay(int appointmentDay) {
        this.appointmentDay = appointmentDay;
    }

    public int getAppointmentClock() {
        return appointmentClock;
    }

    public void setAppointmentClock(int appointmentClock) {
        this.appointmentClock = appointmentClock;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}